package com.baizhi.springboot.service;

import com.baizhi.springboot.entity.Guru;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Map;

public interface GuruService {
    Map selectGuruByPage(Integer page, Integer limit);

    void insertGuru(Guru guru);

    void deleteGuru(Integer id);

    Guru selectOneGuru(Integer id);

    void updateGuru(Guru guru);

    List<Guru> selectAllGuru();


    HSSFWorkbook daochuGuru() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException;


    void daoruGuru(InputStream inputStream) throws Exception;
}
